package com.intramirror.wd.business.util;

public class ChucResponse<T> {
    private T data;

    private String error;
    private String success;



    public ChucResponse(T data) {
        this.data = data;
    }

    public ChucResponse(String error) {
        this.error = error;
    }
    public ChucResponse(boolean success) {
        this.success = "true";
    }

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }
}
